package com.atguigu.spzx.product.service;

import com.atguigu.spzx.model.entity.product.Category;

import java.util.List;

/**
 * ClassName: CategoryService
 * Package: com.atguigu.spzx.product.service
 * Description:
 *
 * @Author 刘强
 * @Create 2024/7/14 12:48
 * @Version 1.0
 */
public interface CategoryService {
    /**
     * 查询一级分类
     * @return
     */
    List<Category> findOneCategory();

    /**
     * 查询所有分类 -> 树形结构
     * @return
     */
    List<Category> findCategoryTree();
}
